%*******************************************************************************
%	
%	Copyright (c) 2009 Philip Wenig
%
%	Unless otherwise specified, this work is licensed under a 
%	Creative Commons Attribution-Share Alike 3.0 License.
%
%	http://creativecommons.org/licenses/by-sa/3.0/
%
%	Contributors:
%		Philip Wenig
%
%*******************************************************************************

%---------------------------------------------------------------
%
%	GENERAL
%
%---------------------------------------------------------------
\chapter{General}
	\label{sec:General}
		%
		%	INDICES
		%
		\index{xxx}
		\index{xxx!general}
		%
		%	CONTENT
		%
		This is the general part.

		%\footnote{This is the first footnote.}  irgendwie klappt die Footnote unter Windows nicht


%---------------------------------------------------------------
%	SECTION
%---------------------------------------------------------------
	\section{Section}
		 \label{sec:section}
			%
			%	INDICES
			%
			\index{xxx}
			\index{xxx!general}	
			%
			%	CONTENT
			%
			This is a section.

%---------------------------------------------------------------
%	SUBSECTION
%---------------------------------------------------------------
		\subsection{Subsection}
			 \label{sec:subsection}
				%
				%	INDICES
				%
				\index{xxx}
				\index{xxx!general}	
				%
				%	CONTENT
				%
				This is a subsection.


%---------------------------------------------------------------
%	SUBSUBSECTION
%---------------------------------------------------------------
			\subsubsection{Subsubsection}
				 \label{sec:subsubsection}
					%
					%	INDICES
					%
					\index{xxx}
					\index{xxx!general}	
					%
					%	CONTENT
					%
					This is a subsubsection.
					
%---------------------------------------------------------------
%	PARAGRAPH
%---------------------------------------------------------------
			\paragraph{Paragraph}
				 \label{sec:paragraph}
					%
					%	INDICES
					%
					\index{xxx}
					\index{xxx!general}	
					%
					%	CONTENT
					%
					This is a paragraph.
					
%---------------------------------------------------------------
%	SUBPARAGRAPH
%---------------------------------------------------------------
				\subparagraph{Subparagraph}
					 \label{sec:subparagraph}
						%
						%	INDICES
						%
						\index{xxx}
						\index{xxx!general}	
						%
						%	CONTENT
						%
						This is a subparagraph.

%---------------------------------------------------------------
%	PICTURES
%---------------------------------------------------------------
	\section{Pictures}
		 \label{sec:Pictures}
			%
			%	INDICES
			%
			\index{xxx}
			\index{xxx!general}	
			%
			%	CONTENT
			%
			How to use pictures.

				\begin{figure}[htbp]
					\centering
						% 
						% It is not necessary to define eps or pdf.
						% The appropriate format will be chose at runtime.
						%
						\includegraphics[width=1.0\textwidth]{\FIGURESGENERAL/figure1}
					\caption[My Short Caption]{My Long Caption shown under the figure.}
					\label{fig:figure1}
				\end{figure}


				\begin{figure}[htbp]
					\centering
						% 
						% It is not necessary to define eps or pdf.
						% The appropriate format will be chose at runtime.
						%
						\includegraphics[width=1.0\textwidth]{\FIGURESGENERAL/figure2}
					\caption[My Short Caption]{My Long Caption shown under the figure.}
					\label{fig:figure2}
				\end{figure}

%---------------------------------------------------------------
%	SUBFIGURE
%---------------------------------------------------------------
		\subsection{Subfigure}
		 	\label{sec:Subfigure}
				%
				%	INDICES
				%
				\index{xxx}
				\index{xxx!general}	
				%
				%	CONTENT
				%
				Text here ...

				\VERTICALSPACE	

				\begin{figure}[hb]
					\centering
					\subfigure[First Description]{\includegraphics[width=0.45\textwidth]{\FIGURESGENERAL/figure1}}
					\subfigure[Second Description]{\includegraphics[width=0.45\textwidth]{\FIGURESGENERAL/figure2}}
					\subfigure[Third Description]{\includegraphics[width=0.45\textwidth]{\FIGURESGENERAL/figure1}}
					\subfigure[Fourth Description]{\includegraphics[width=0.45\textwidth]{\FIGURESGENERAL/figure2}}
				\end{figure}	


%---------------------------------------------------------------
%	FIGWINDOW
%---------------------------------------------------------------
		\subsection{Figwindow}
		 	\label{sec:Figwindow}
				%
				%	INDICES
				%
				\index{xxx}
				\index{xxx!general}	
				%
				%	CONTENT
				%
				Text here ...

				\VERTICALSPACE	


				\begin{figwindow}[3,l,%
					\setlength\fboxrule{0.4pt}% border
					\setlength\fboxsep{7mm}% padding
					\fbox{\includegraphics[width=50mm]{\FIGURESGENERAL/figure2}},%
					[Picture int text]{This is a picture.}%
					\label{fig:testpicture1}%
					]
					Hello some text Hello some text Hello some text Hello some text Hello some textHello some textHello some text Hello some textHello some textHello some textHello some textHello some textHello some textHello some text
				\end{figwindow}

%------------------------------------------------------CLEARPAGE
\clearpage
%------------------------------------------------------CLEARPAGE
				
%---------------------------------------------------------------
%	IFPDF
%---------------------------------------------------------------
	\section{ifpdf}
		 \label{sec:ifpdf}
			%
			%	INDICES
			%
			\index{xxx}
			\index{xxx!general}		
			%
			%	CONTENT
			%
			\ifpdf
				It is pdf document.
			\else
				It is a dvi document.
			\fi

%---------------------------------------------------------------
%	MINIPAGES
%---------------------------------------------------------------
	\section{Minipages}
		 \label{sec:Minipages}
			%
			%	INDICES
			%
			\index{xxx}
			\index{xxx!general}		
			%
			%	CONTENT
			%
			Text here ...

			\VERTICALSPACE

				\begin{minipage}[hbt]{0.47\textwidth}
					\begin{itemize}
						\item 1
						\item 2
						\item 3
					\end{itemize}
				\end{minipage}
				\hfill
				\begin{minipage}[hbt]{0.47\textwidth}
					\begin{itemize}
						\item 4
						\item 5
						\item 6
					\end{itemize}
				\end{minipage}	


%---------------------------------------------------------------
%	ITEMIZE
%---------------------------------------------------------------
		\subsection{Itemize}
			 \label{sec:Itemize}
				%
				%	INDICES
				%
				\index{xxx}
				\index{xxx!general}		
				%
				%	CONTENT
				%
				Text here ...

				\VERTICALSPACE

					\begin{itemize}
						\item 1
						\item 2
						\item 3
					\end{itemize}

%---------------------------------------------------------------
%	QUOTATION
%---------------------------------------------------------------
		\subsection{Quotation}
			 \label{sec:Quotation}
				%
				%	INDICES
				%
				\index{xxx}
				\index{xxx!general}		
				%
				%	CONTENT
				%
				Text here ...

				\VERTICALSPACE

				\begin{quotation}
					\blindtext[1]
				\end{quotation}

%---------------------------------------------------------------
%	TABBING
%---------------------------------------------------------------
		\subsection{Tabs}
			 \label{sec:Tabs}
				%
				%	INDICES
				%
				\index{xxx}
				\index{xxx!general}		
				%
				%	CONTENT
				%
				Text here ...

				\VERTICALSPACE		

					\begin{tabbing}
						\TAB[15mm] \TAB[5cm] \kill
						Internet addresses: \\
						\> Dante-Website: \>  \url{http://www.dante.de} \\
					\end{tabbing}

%---------------------------------------------------------------
%	URL
%---------------------------------------------------------------
		\subsection{Url}
			 \label{sec:Url}
				%
				%	INDICES
				%
				\index{xxx}
				\index{xxx!general}		
				%
				%	CONTENT
				%
				Text here ...

				\VERTICALSPACE

				\url{http://www.dante.de}


%---------------------------------------------------------------
%	VERBATIM
%---------------------------------------------------------------
		\subsection{Verbatim}
			 \label{sec:Verbatim}
				%
				%	INDICES
				%
				\index{xxx}
				\index{xxx!general}		
				%
				%	CONTENT
				%
				Text here ...

				\VERTICALSPACE

				\begin{verbatim}
					\documentclass[a4paper]{article} - set a A4 paper
				\end{verbatim}

%---------------------------------------------------------------
%	INDICES
%---------------------------------------------------------------
	\section{Indices}
		 \label{sec:Indices}
			%
			%	INDICES
			%
			\index{entry}
			\index{entry!subentry}		
			\index{entry|(}
			\index{entry|)}
			\index{Pi@$\pi$}
			%
			%	CONTENT
			%
			There are several ways to define index entries.